class User:
    def __init__(self,id,username,password,nickname,born):
        self.id = id
        self.username = username
        self.password = password
        self.nickname = nickname
        self.born = born

    def __str__(self):
        return f"id:{self.id}\tusername:{self.username}\tpassword:{self.password}\tnickname:{self.nickname}\tborn:{self.born}"

if __name__ == '__main__':
    user = User(1,"laozhang","123","老张","2000-12-22")
    print(user)